package pratica09;

public class RoboSimulado {

	private double x, y = 0;

	public RoboSimulado(double x, double y) {
		super();
		this.x = x;
		this.y = y;
	}

	public void aumentaX(double valor) {
		x = +valor;
	}

	public void diminuiX(double valor) {
		x = -valor;
	}

	public void aumentay(double valor) {
		y = +valor;
	}
	
	public void diminuiy(double valor) {
		y = -valor;
	}
	
	private void mostraPosicao(double valor) {
		System.out.println("Posicao: " + x + " " + y);

	}

}
